const { defineConfig } = require('@vue/cli-service')
module.exports = defineConfig({
  transpileDependencies: true,
  devServer: {
    host: 'localhost',
    port: '3001',
    proxy: {
      '/calendar': {
        target: 'http://192.168.0.34:8082/',//后端接口地址
        changeOrigin: true,//是否允许跨越
        pathRewrite: {
          '^/calendar': '',//重写,
        }
      }
    },
  },
})
